home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-10-26 | 543 b | 22 lines | [TEXT/KAHL] |
- /*
- ** Project dialog example
- ** Module Buttons.h
- ** Author Bernie Wieser ©1991
- ** Date 10/26/91
- **
- ** Purpose
- ** Routines to handle dialog buttons.
- **
- */
-
- short PressButton( /* fake a button press */
- DialogPtr dp, /* button's dlog */
- short item, /* the button id */
- long delay /* delay down */
- ); /* return failure if button inactive */
-
-
- short DefaultButton( /* highlight the default button */
- DialogPtr dp, /* the button's dialog */
- short item /* the button's id, usually 1 */
- ); /* return failure if button inactive */